weight

Parameters

weight

share of analyzed pixels represented by this color, in the range 0, 1. Higher values indicate a more prominent color. The sum of weights returned by a single BlockApi.getDominantColors call is 1.